package pers.zc.activiti.websocket.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @description 配置
 * @Author Lin FuYuan
 * @date 2020/5/6
 */
@Configuration
public class WebSocketConfig {
    /**
     *开启WebSocket支持
     * @author Lin FuYuan
     * @param
     * @date 2020/5/6
     * @return org.springframework.web.socket.server.standard.ServerEndpointExporter
     */
    @Bean
    public ServerEndpointExporter serverEndpointExporter(){
        return new ServerEndpointExporter();
    }


}
